package com.kennedy.springbootjpa.beans;

import com.kennedy.springbootjpa.beans.common.BaseEntity;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

/**
 * Created by tao.zeng on 2017/6/22.
 */
@Entity
public class Product extends BaseEntity {
    private Long shopId; // 店铺id;
    private String productName; // 产品名
    private Integer productType; // 产品类型
    private String productUrl; // 产品图片URL

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Integer getProductType() {
        return productType;
    }

    public void setProductType(Integer productType) {
        this.productType = productType;
    }

    public String getProductUrl() {
        return productUrl;
    }

    public void setProductUrl(String productUrl) {
        this.productUrl = productUrl;
    }

}
